package day2.demo1.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/ctr2")
//@Controller
//@ResponseBody
@RestController
public class Ctr2 {

    @RequestMapping("/a")
    public String a(){
        return "this is a";
    }

}
